<%--
  Created by IntelliJ IDEA.
  User: irinush
  Date: 2/26/12
  Time: 3:24 PM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
  <title>Create a dream</title>
  <link rel=StyleSheet href="../css/style.css" type="text/css">
</head>
<body>
  <g:form name="createForm" url="[controller:'dream',action:'create']">
      <p>Dream title : <input type="text" size="20" name="dreamTitle"></p>
      <p>Dream content : </p>
      <p>
      <g:textArea name="dreamContent" rows="20" cols="25"/>
      </p>
      <input type="submit" value="Dream submit">
  </g:form>
</body>
</html>